package com.example.weibo_app.mapper;

import com.example.weibo_app.domain.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    List<User> selectAll();

    User selectById(int id);

    int SaveUser(User user);

    int UpdateUser(User user);

    int DeleteUser(int id);

    boolean checkUser(User user);
}